package top.tangyh.lamp.care.service;

import top.tangyh.basic.base.service.SuperService;
import top.tangyh.lamp.care.entity.BDocRecord;
import top.tangyh.lamp.care.vo.save.BDocRecordSaveVO;
import top.tangyh.lamp.care.vo.update.BDocRecordUpdateVO;
import top.tangyh.lamp.care.vo.result.BDocRecordResultVO;
import top.tangyh.lamp.care.vo.query.BDocRecordPageQuery;

import java.util.List;


/**
 * <p>
 * 业务接口
 * 文书记录表
 * </p>
 *
 * @author zqb
 * @date 2024-07-29 14:16:16
 * @create [2024-07-29 14:16:16] [zqb] [代码生成器生成]
 */
public interface BDocRecordService extends SuperService<Long, BDocRecord> {

    /**
     *@Description: 新增修改文书
     *@return:
     *@Author: xpx
     *@date: 2022/5/6
     * @param po
     */
    void doSave(BDocRecordSaveVO po);

    /**
     *@Description: 查询列表
     *@return:
     *@Author: xpx
     *@date: 2022/5/6
     * @param patientIdent 病人识别号
     * @param type 类型
     * @param wardIdent 病区
     * @param startTime 创建时间 开始
     * @param endTime 创建时间 结束
     */
    List<BDocRecordResultVO> queryAll(String patientIdent, Integer type, String wardIdent, Long startTime, Long endTime);



    /**
     *@Description: 根据病人识别号和类型返回一张文书
     *@return:
     *@Author: xpx
     *@date: 2022/5/6
     * @param patientIdent 病人识别号
     * @param type 类型
     */
    BDocRecordResultVO detialListOne(String patientIdent,Integer type);


}


